calculate sum of 3d array element

welcome to shbcf.ru